//
//  ChartHeartViewController.m
//  hospitalVIP
//
//  Created by xiaoyan on 13-12-30.
//  Copyright (c) 2013年 MEETStudio. All rights reserved.
//

#import "ChartHeartViewController.h"

@interface ChartHeartViewController ()
{
    
}
@end

@implementation ChartHeartViewController

- (void)dealloc{
    
    
    
    [super dealloc];
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    UIScrollView *testScrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, 320, 450)];

    
    NSString *file = [[NSBundle mainBundle] pathForResource:@"taixin.png" ofType:nil];
    UIImage *image = [UIImage imageWithContentsOfFile:file];

    
    UIImageView *testChart = [[UIImageView alloc]initWithFrame:CGRectMake(0, 10, 1840, 400)];
    testChart.image = image;
    [testScrollView addSubview:testChart];
    [testChart release];
    
    [testScrollView setContentSize:CGSizeMake(1840, 400)];
    [testScrollView showsHorizontalScrollIndicator];
    [testScrollView setScrollEnabled:YES];
    
    [self.view addSubview:testScrollView];
    [testScrollView release];
    
    [self setTItleWith:@"胎心率"];
    
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
